package com.wkang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author: wkang
 * @package: com.wkang
 * @date: 2019/11/12
 * @version: ver1.0
 */
@SpringBootApplication
@EnableEurekaClient //开启Eureka客户端发现功能，注册中心只能是Eureka
@EnableDiscoveryClient //开启Eureka客户端发现功能
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class,args);
    }
}
